<fieldset>
    <div class="wd-top-login">
            <!-- <p class="wd-error-login">Incorrect  Username or Password!</p> -->
        <div class="wd-wrapper-login">
            <?php echo $this->Form->create('User', array('url' => $this->request->here(false))); ?>
            <div class="wd-input">
                <?php
                if (empty($user)) {
                    echo $this->Form->input('User.username');
                } else {
                    $this->request->data['User'] = $user;
                    echo $this->Form->input('User.username', array('readonly' => true));
                }
                ?>
            </div>
            <div class="wd-input">
                <?php echo $this->Form->input('User.password'); ?>
            </div>
            <div class="wd-submit">
                <?php echo $this->Form->end('login'); ?>
            </div>
        </div>
    </div>
</fieldset>